﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace OnlineHelpDesk.Admin
{
    public partial class AdminMenuLeft : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                txtSearch.Text = "";
                txtSearch.Focus();
            }
        }

        protected void lbtnProfile_Click(object sender, EventArgs e)
        {
            Response.Redirect("AdminProfile.aspx?AdminName=");
        }

        protected void lbtnCreateAcc_Click(object sender, EventArgs e)
        {
            Response.Redirect("AdminCreateAccount.aspx");
        }        

        protected void lbtnCreateFacility_Click(object sender, EventArgs e)
        {
            Response.Redirect("AdminCreateFacility.aspx");
        }

        protected void lbtnUserMana_Click(object sender, EventArgs e)
        {
            Response.Redirect("UserManagement.aspx");
        }
    }
}